// stdafx.cpp : source file that includes just the standard includes
//	AutoCreateCSV.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

int SDK_TRACE(const char *format , ... )
{
	
	char	buf[1024]={0};
	va_list		l;
	va_start(l,format);
	// vsprintf(buf,format,l);
	_vsnprintf(buf,1023,format,l);
	va_end(l);
#ifdef _DEBUG
	OutputDebugString(buf);
#endif
	printf(buf);
	//MessageBox(0,buf,"Error",0);
	//LogToDisk2(nVPort,buf);
	
	return 1;
}

